Integrand size = 26, antiderivative size = 129 \[ \int \frac {x^5}{\left (a+b x^2\right )^{3/2} \sqrt {c+d x^2}} \, dx=-\frac {a^2 \sqrt {c+d x^2}}{b^2 (b c-a d) \sqrt {a+b x^2}}+\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{2 b^2 d}-\frac {(b c+3 a d) \text {arctanh}\left (\frac {\sqrt {d} \sqrt {a+b x^2}}{\sqrt {b} \sqrt {c+d x^2}}\right )}{2 b^{5/2} d^{3/2}} \]
-1/2*(3*a*d+b*c)*arctanh(d^(1/2)*(b*x^2+a)^(1/2)/b^(1/2)/(d*x^2+c)^(1/2))/ b^(5/2)/d^(3/2)-a^2*(d*x^2+c)^(1/2)/b^2/(-a*d+b*c)/(b*x^2+a)^(1/2)+1/2*(b* x^2+a)^(1/2)*(d*x^2+c)^(1/2)/b^2/d
Time = 1.77 (sec) , antiderivative size = 153, normalized size of antiderivative = 1.19 \[ \int \frac {x^5}{\left (a+b x^2\right )^{3/2} \sqrt {c+d x^2}} \, dx=\frac {\sqrt {b} \sqrt {d} \sqrt {c+d x^2} \left (-3 a^2 d+b^2 c x^2+a b \left (c-d x^2\right )\right )-\left (b^2 c^2+2 a b c d-3 a^2 d^2\right ) \sqrt {a+b x^2} \text {arctanh}\left (\frac {\sqrt {b} \sqrt {c+d x^2}}{\sqrt {d} \sqrt {a+b x^2}}\right )}{2 b^{5/2} d^{3/2} (b c-a d) \sqrt {a+b x^2}} \]
(Sqrt[b]*Sqrt[d]*Sqrt[c + d*x^2]*(-3*a^2*d + b^2*c*x^2 + a*b*(c - d*x^2)) - (b^2*c^2 + 2*a*b*c*d - 3*a^2*d^2)*Sqrt[a + b*x^2]*ArcTanh[(Sqrt[b]*Sqrt[ c + d*x^2])/(Sqrt[d]*Sqrt[a + b*x^2])])/(2*b^(5/2)*d^(3/2)*(b*c - a*d)*Sqr t[a + b*x^2])
Time = 0.26 (sec) , antiderivative size = 131, normalized size of antiderivative = 1.02, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.269, Rules used = {354, 100, 27, 27, 90, 66, 221}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {x^5}{\left (a+b x^2\right )^{3/2} \sqrt {c+d x^2}} \, dx\) |
\(\Big \downarrow \) 354 |
\(\displaystyle \frac {1}{2} \int \frac {x^4}{\left (b x^2+a\right )^{3/2} \sqrt {d x^2+c}}dx^2\) |
\(\Big \downarrow \) 100 |
\(\displaystyle \frac {1}{2} \left (\frac {2 \int -\frac {a (b c-a d)-b (b c-a d) x^2}{2 \sqrt {b x^2+a} \sqrt {d x^2+c}}dx^2}{b^2 (b c-a d)}-\frac {2 a^2 \sqrt {c+d x^2}}{b^2 \sqrt {a+b x^2} (b c-a d)}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {1}{2} \left (-\frac {\int \frac {(b c-a d) \left (a-b x^2\right )}{\sqrt {b x^2+a} \sqrt {d x^2+c}}dx^2}{b^2 (b c-a d)}-\frac {2 a^2 \sqrt {c+d x^2}}{b^2 \sqrt {a+b x^2} (b c-a d)}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {1}{2} \left (-\frac {\int \frac {a-b x^2}{\sqrt {b x^2+a} \sqrt {d x^2+c}}dx^2}{b^2}-\frac {2 a^2 \sqrt {c+d x^2}}{b^2 \sqrt {a+b x^2} (b c-a d)}\right )\) |
\(\Big \downarrow \) 90 |
\(\displaystyle \frac {1}{2} \left (-\frac {\frac {(3 a d+b c) \int \frac {1}{\sqrt {b x^2+a} \sqrt {d x^2+c}}dx^2}{2 d}-\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{d}}{b^2}-\frac {2 a^2 \sqrt {c+d x^2}}{b^2 \sqrt {a+b x^2} (b c-a d)}\right )\) |
\(\Big \downarrow \) 66 |
\(\displaystyle \frac {1}{2} \left (-\frac {\frac {(3 a d+b c) \int \frac {1}{b-d x^4}d\frac {\sqrt {b x^2+a}}{\sqrt {d x^2+c}}}{d}-\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{d}}{b^2}-\frac {2 a^2 \sqrt {c+d x^2}}{b^2 \sqrt {a+b x^2} (b c-a d)}\right )\) |
\(\Big \downarrow \) 221 |
\(\displaystyle \frac {1}{2} \left (-\frac {2 a^2 \sqrt {c+d x^2}}{b^2 \sqrt {a+b x^2} (b c-a d)}-\frac {\frac {(3 a d+b c) \text {arctanh}\left (\frac {\sqrt {d} \sqrt {a+b x^2}}{\sqrt {b} \sqrt {c+d x^2}}\right )}{\sqrt {b} d^{3/2}}-\frac {\sqrt {a+b x^2} \sqrt {c+d x^2}}{d}}{b^2}\right )\) |
((-2*a^2*Sqrt[c + d*x^2])/(b^2*(b*c - a*d)*Sqrt[a + b*x^2]) - (-((Sqrt[a + b*x^2]*Sqrt[c + d*x^2])/d) + ((b*c + 3*a*d)*ArcTanh[(Sqrt[d]*Sqrt[a + b*x ^2])/(Sqrt[b]*Sqrt[c + d*x^2])])/(Sqrt[b]*d^(3/2)))/b^2)/2
3.10.80.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[1/(Sqrt[(a_) + (b_.)*(x_)]*Sqrt[(c_) + (d_.)*(x_)]), x_Symbol] :> Simp[ 2 Subst[Int[1/(b - d*x^2), x], x, Sqrt[a + b*x]/Sqrt[c + d*x]], x] /; Fre eQ[{a, b, c, d}, x] && !GtQ[c - a*(d/b), 0]
Int[((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p _.), x_] :> Simp[b*(c + d*x)^(n + 1)*((e + f*x)^(p + 1)/(d*f*(n + p + 2))), x] + Simp[(a*d*f*(n + p + 2) - b*(d*e*(n + 1) + c*f*(p + 1)))/(d*f*(n + p + 2)) Int[(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && NeQ[n + p + 2, 0]
Int[((a_.) + (b_.)*(x_))^2*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^( p_), x_] :> Simp[(b*c - a*d)^2*(c + d*x)^(n + 1)*((e + f*x)^(p + 1)/(d^2*(d *e - c*f)*(n + 1))), x] - Simp[1/(d^2*(d*e - c*f)*(n + 1)) Int[(c + d*x)^ (n + 1)*(e + f*x)^p*Simp[a^2*d^2*f*(n + p + 2) + b^2*c*(d*e*(n + 1) + c*f*( p + 1)) - 2*a*b*d*(d*e*(n + 1) + c*f*(p + 1)) - b^2*d*(d*e - c*f)*(n + 1)*x , x], x], x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && (LtQ[n, -1] || (EqQ[n + p + 3, 0] && NeQ[n, -1] && (SumSimplerQ[n, 1] || !SumSimplerQ[p, 1])))
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x /Rt[-a/b, 2]], x] /; FreeQ[{a, b}, x] && NegQ[a/b]
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_.), x_S ymbol] :> Simp[1/2 Subst[Int[x^((m - 1)/2)*(a + b*x)^p*(c + d*x)^q, x], x , x^2], x] /; FreeQ[{a, b, c, d, p, q}, x] && NeQ[b*c - a*d, 0] && IntegerQ [(m - 1)/2]
Time = 3.14 (sec) , antiderivative size = 180, normalized size of antiderivative = 1.40
method | result | size |
risch | \(\frac {\sqrt {b \,x^{2}+a}\, \sqrt {d \,x^{2}+c}}{2 b^{2} d}-\frac {\left (\frac {\left (3 a d +b c \right ) \ln \left (\frac {\frac {1}{2} a d +\frac {1}{2} b c +b d \,x^{2}}{\sqrt {b d}}+\sqrt {b d \,x^{4}+\left (a d +b c \right ) x^{2}+a c}\right )}{2 \sqrt {b d}}-\frac {2 a^{2} d \left (d \,x^{2}+c \right )}{\left (a d -b c \right ) \sqrt {b d \,x^{4}+a d \,x^{2}+c b \,x^{2}+a c}}\right ) \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}}{2 b^{2} d \sqrt {b \,x^{2}+a}\, \sqrt {d \,x^{2}+c}}\) | \(180\) |
elliptic | \(\frac {\sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, \left (-\frac {3 a \ln \left (\frac {\frac {1}{2} a d +\frac {1}{2} b c +b d \,x^{2}}{\sqrt {b d}}+\sqrt {b d \,x^{4}+\left (a d +b c \right ) x^{2}+a c}\right )}{4 b^{2} \sqrt {b d}}+\frac {\sqrt {b d \,x^{4}+\left (a d +b c \right ) x^{2}+a c}}{2 b^{2} d}-\frac {\ln \left (\frac {\frac {1}{2} a d +\frac {1}{2} b c +b d \,x^{2}}{\sqrt {b d}}+\sqrt {b d \,x^{4}+\left (a d +b c \right ) x^{2}+a c}\right ) c}{4 b d \sqrt {b d}}-\frac {a^{2} \sqrt {b d \left (x^{2}+\frac {a}{b}\right )^{2}+\left (-a d +b c \right ) \left (x^{2}+\frac {a}{b}\right )}}{b^{3} \left (-a d +b c \right ) \left (x^{2}+\frac {a}{b}\right )}\right )}{\sqrt {b \,x^{2}+a}\, \sqrt {d \,x^{2}+c}}\) | \(250\) |
default | \(-\frac {\left (3 \ln \left (\frac {2 b d \,x^{2}+2 \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{2} b \,d^{2} x^{2}-2 \ln \left (\frac {2 b d \,x^{2}+2 \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a \,b^{2} c d \,x^{2}-\ln \left (\frac {2 b d \,x^{2}+2 \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) b^{3} c^{2} x^{2}-2 \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, \sqrt {b d}\, a b d \,x^{2}+2 \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, \sqrt {b d}\, b^{2} c \,x^{2}+3 \ln \left (\frac {2 b d \,x^{2}+2 \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{3} d^{2}-2 \ln \left (\frac {2 b d \,x^{2}+2 \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{2} b c d -\ln \left (\frac {2 b d \,x^{2}+2 \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a \,b^{2} c^{2}-6 \sqrt {b d}\, \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, a^{2} d +2 \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}\, \sqrt {b d}\, a b c \right ) \sqrt {d \,x^{2}+c}}{4 b^{2} \sqrt {b \,x^{2}+a}\, \sqrt {b d}\, d \left (a d -b c \right ) \sqrt {\left (b \,x^{2}+a \right ) \left (d \,x^{2}+c \right )}}\) | \(511\) |
1/2*(b*x^2+a)^(1/2)*(d*x^2+c)^(1/2)/b^2/d-1/2/b^2/d*(1/2*(3*a*d+b*c)*ln((1 /2*a*d+1/2*b*c+b*d*x^2)/(b*d)^(1/2)+(b*d*x^4+(a*d+b*c)*x^2+a*c)^(1/2))/(b* d)^(1/2)-2*a^2*d*(d*x^2+c)/(a*d-b*c)/(b*d*x^4+a*d*x^2+b*c*x^2+a*c)^(1/2))* ((b*x^2+a)*(d*x^2+c))^(1/2)/(b*x^2+a)^(1/2)/(d*x^2+c)^(1/2)
Leaf count of result is larger than twice the leaf count of optimal. 242 vs. \(2 (105) = 210\).
Time = 0.32 (sec) , antiderivative size = 498, normalized size of antiderivative = 3.86 \[ \int \frac {x^5}{\left (a+b x^2\right )^{3/2} \sqrt {c+d x^2}} \, dx=\left [\frac {{\left (a b^{2} c^{2} + 2 \, a^{2} b c d - 3 \, a^{3} d^{2} + {\left (b^{3} c^{2} + 2 \, a b^{2} c d - 3 \, a^{2} b d^{2}\right )} x^{2}\right )} \sqrt {b d} \log \left (8 \, b^{2} d^{2} x^{4} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} x^{2} - 4 \, {\left (2 \, b d x^{2} + b c + a d\right )} \sqrt {b x^{2} + a} \sqrt {d x^{2} + c} \sqrt {b d}\right ) + 4 \, {\left (a b^{2} c d - 3 \, a^{2} b d^{2} + {\left (b^{3} c d - a b^{2} d^{2}\right )} x^{2}\right )} \sqrt {b x^{2} + a} \sqrt {d x^{2} + c}}{8 \, {\left (a b^{4} c d^{2} - a^{2} b^{3} d^{3} + {\left (b^{5} c d^{2} - a b^{4} d^{3}\right )} x^{2}\right )}}, \frac {{\left (a b^{2} c^{2} + 2 \, a^{2} b c d - 3 \, a^{3} d^{2} + {\left (b^{3} c^{2} + 2 \, a b^{2} c d - 3 \, a^{2} b d^{2}\right )} x^{2}\right )} \sqrt {-b d} \arctan \left (\frac {{\left (2 \, b d x^{2} + b c + a d\right )} \sqrt {b x^{2} + a} \sqrt {d x^{2} + c} \sqrt {-b d}}{2 \, {\left (b^{2} d^{2} x^{4} + a b c d + {\left (b^{2} c d + a b d^{2}\right )} x^{2}\right )}}\right ) + 2 \, {\left (a b^{2} c d - 3 \, a^{2} b d^{2} + {\left (b^{3} c d - a b^{2} d^{2}\right )} x^{2}\right )} \sqrt {b x^{2} + a} \sqrt {d x^{2} + c}}{4 \, {\left (a b^{4} c d^{2} - a^{2} b^{3} d^{3} + {\left (b^{5} c d^{2} - a b^{4} d^{3}\right )} x^{2}\right )}}\right ] \]
[1/8*((a*b^2*c^2 + 2*a^2*b*c*d - 3*a^3*d^2 + (b^3*c^2 + 2*a*b^2*c*d - 3*a^ 2*b*d^2)*x^2)*sqrt(b*d)*log(8*b^2*d^2*x^4 + b^2*c^2 + 6*a*b*c*d + a^2*d^2 + 8*(b^2*c*d + a*b*d^2)*x^2 - 4*(2*b*d*x^2 + b*c + a*d)*sqrt(b*x^2 + a)*sq rt(d*x^2 + c)*sqrt(b*d)) + 4*(a*b^2*c*d - 3*a^2*b*d^2 + (b^3*c*d - a*b^2*d ^2)*x^2)*sqrt(b*x^2 + a)*sqrt(d*x^2 + c))/(a*b^4*c*d^2 - a^2*b^3*d^3 + (b^ 5*c*d^2 - a*b^4*d^3)*x^2), 1/4*((a*b^2*c^2 + 2*a^2*b*c*d - 3*a^3*d^2 + (b^ 3*c^2 + 2*a*b^2*c*d - 3*a^2*b*d^2)*x^2)*sqrt(-b*d)*arctan(1/2*(2*b*d*x^2 + b*c + a*d)*sqrt(b*x^2 + a)*sqrt(d*x^2 + c)*sqrt(-b*d)/(b^2*d^2*x^4 + a*b* c*d + (b^2*c*d + a*b*d^2)*x^2)) + 2*(a*b^2*c*d - 3*a^2*b*d^2 + (b^3*c*d - a*b^2*d^2)*x^2)*sqrt(b*x^2 + a)*sqrt(d*x^2 + c))/(a*b^4*c*d^2 - a^2*b^3*d^ 3 + (b^5*c*d^2 - a*b^4*d^3)*x^2)]
\[ \int \frac {x^5}{\left (a+b x^2\right )^{3/2} \sqrt {c+d x^2}} \, dx=\int \frac {x^{5}}{\left (a + b x^{2}\right )^{\frac {3}{2}} \sqrt {c + d x^{2}}}\, dx \]
Exception generated. \[ \int \frac {x^5}{\left (a+b x^2\right )^{3/2} \sqrt {c+d x^2}} \, dx=\text {Exception raised: ValueError} \]
Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'assume' command before evaluation *may* help (example of legal syntax is 'assume(a*d-b*c>0)', see `assume?` for m ore detail
Time = 0.34 (sec) , antiderivative size = 185, normalized size of antiderivative = 1.43 \[ \int \frac {x^5}{\left (a+b x^2\right )^{3/2} \sqrt {c+d x^2}} \, dx=-\frac {2 \, a^{2} d}{{\left (b^{2} c - a b d - {\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{2}\right )} \sqrt {b d} {\left | b \right |}} + \frac {{\left (b c + 3 \, a d\right )} \log \left ({\left (\sqrt {b x^{2} + a} \sqrt {b d} - \sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d}\right )}^{2}\right )}{4 \, \sqrt {b d} b d {\left | b \right |}} + \frac {\sqrt {b^{2} c + {\left (b x^{2} + a\right )} b d - a b d} \sqrt {b x^{2} + a} {\left | b \right |}}{2 \, b^{4} d} \]
-2*a^2*d/((b^2*c - a*b*d - (sqrt(b*x^2 + a)*sqrt(b*d) - sqrt(b^2*c + (b*x^ 2 + a)*b*d - a*b*d))^2)*sqrt(b*d)*abs(b)) + 1/4*(b*c + 3*a*d)*log((sqrt(b* x^2 + a)*sqrt(b*d) - sqrt(b^2*c + (b*x^2 + a)*b*d - a*b*d))^2)/(sqrt(b*d)* b*d*abs(b)) + 1/2*sqrt(b^2*c + (b*x^2 + a)*b*d - a*b*d)*sqrt(b*x^2 + a)*ab s(b)/(b^4*d)
Timed out. \[ \int \frac {x^5}{\left (a+b x^2\right )^{3/2} \sqrt {c+d x^2}} \, dx=\int \frac {x^5}{{\left (b\,x^2+a\right )}^{3/2}\,\sqrt {d\,x^2+c}} \,d x \]